home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 11 / 011.d81 / t.renumber boot < prev    next >
Text File  |  2022-08-26  |  2KB  |  113 lines

  1.  
  2.              RENUMBER
  3.  
  4.  
  5. Written by:  Charles Moehringer
  6.  
  7. BASIC Renumber
  8. PowerPlay Magazine, May 1985
  9. Page 62
  10.  
  11.  
  12.   Have you ever thought of a great
  13.  
  14. new feature to add to one of your
  15.  
  16. programs and the lines look like this?
  17.  
  18.   .
  19.   .
  20.  101 PRINT"THIS LINE IS FULL"
  21.  102 PRINT"THIS LINE IS FULL TOO"
  22.  103 PRINT"GUESS WHAT?? THIS ONE TOO"
  23.   .
  24.   .
  25.  
  26.  
  27. Your new feature needs to be put right
  28.  
  29. between lines 101 and 102.  What is
  30.  
  31. the aspiring programmer to do??
  32.  
  33.   Well, now you have the answer!
  34.  
  35. With this program which renumbers a
  36.  
  37. BASIC program, all of your problems
  38.  
  39. are solved.
  40.  
  41.   The program, when RUN, asks for the
  42.  
  43. file name of the program to be
  44.  
  45. renumbered.  It then asks for the
  46.  
  47. line number on which to start the
  48.  
  49. renumbering as well as the desired
  50.  
  51. increment between lines.  When the
  52.  
  53. final READY prompt appears, your
  54.  
  55. program is renumbered and ready to
  56.  
  57. RUN (we suggest SAVEing this new
  58.  
  59. version, just in case).
  60.  
  61.   The maximum length of the program
  62.  
  63. to be renumbered is about 36K.  This
  64.  
  65. makes it possible to renumber almost
  66.  
  67. any program.  Also, don't expect
  68.  
  69. instant results.  The computer has to
  70.  
  71. do a lot of work to get your program
  72.  
  73. renumbered.  By the way, this program
  74.  
  75. DOES take care of branching statements
  76.  
  77. (GOTO, GOSUB etc...) in your program.
  78.  
  79.  
  80.   Because of the nature of this
  81.  
  82. program, it does NOT link back to
  83.  
  84. LOADSTAR.  Please be sure that you
  85.  
  86. want to RUN this program before you
  87.  
  88. do so.
  89.  
  90.  
  91.    This program is copyrighted by
  92.  
  93. PowerPlay magazine.  All rights to it
  94.  
  95. are reserved.  LOADSTAR has relieved
  96.  
  97. you from the burden of keying in this
  98.  
  99.     program.  For more complete
  100.  
  101. information about this program, refer
  102.  
  103. to the May 1985 issue of PowerPlay
  104.  
  105.              Magazine.
  106.  
  107.  
  108.  
  109. >Files used:  RENUMBER
  110.               RENUMBER-BASIC
  111.  
  112. --------------------------------------
  113.